/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const realTimeStateRouter = {
  path: '/realTimeState',
  component: Layout,
  redirect: '/realTimeState/terminalState',
  name: 'realTimeState',
  meta: {
    title: '实时状态',
    icon: 'zhexian'
  },
  children: [
    {
      path: 'terminalState',
      name: 'terminalState',
      component: () => import('@/views/realTimeState/terminalState'),
      meta: { title: '终端状态', icon: 'dian'}
    },
    {
      path: 'synchronousState',
      name: 'synchronousState',
      component: () => import('@/views/realTimeState/synchronousState'),
      meta: { title: '同步状态', icon: 'dian' }
    },
    {
      path: 'storageStatus',
      name: 'storageStatus',
      component: () => import('@/views/realTimeState/storageStatus'),
      meta: { title: '转储状态', icon: 'dian' }
    }
  ]
}

export default realTimeStateRouter
